import { request } from "@/utils/service"
import type { GetToken } from "../../../types/chat"
/** 获取登录验证码 */
export function getTokenApi(params: any) {
  return request<GetToken>({
    url: "/api/oauth/2.0/token",
    method: "get",
    params
  })
}
